import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsNumber } from 'class-validator';
import { ADDFRIENDENUM } from 'src/enum/addFriendEnum';

export class AgreeFriendDto {
  @ApiProperty({ default: '' })
  @IsNotEmpty()
  id: string;

  @ApiProperty({ default: 1, enum: ADDFRIENDENUM })
  @IsNotEmpty()
  @IsNumber()
  state: number;
}
